home *** CD-ROM | disk | FTP | other *** search
/ Software Vault: The Gold Collection / Software Vault - The Gold Collection (American Databankers) (1993).ISO / cdr42 / dmp254.zip / DMP.DOC < prev    next >
Text File  |  1993-06-26  |  9KB  |  202 lines

  1.  
  2.  
  3.                 DMP.DOC
  4.  
  5.          Documentation for the Dual Module Player v2.53
  6.  
  7.           Copyright (C) 1992,1993 Otto Chrons
  8.  
  9.  
  10.  DMP.EXE is  a program    demonstrating the  capabilities of the DSMI
  11.  programming interface (DSMI stands for Digital Sound & Music
  12.  Interface). It's a standalone module  player with  which  you can play
  13.  STM (also S3M,669) files  as well  as Amiga modules (MOD or NST). DMP is
  14.  cardware so you  can freely distribute  it and I hope you did, as long
  15.  as you include this help file with the executable. If you like the
  16.  product, please send me a postcard to the address shown on the
  17.  endscreen of DMP!!
  18.  
  19.            Here is the command line syntax:
  20.  
  21.            DMP [options] [modulename] [@listfile] [options]
  22.  
  23.            Where:
  24.            ------
  25.        modulename : name of a module (wildcards *,? allowed)
  26.        listfile   : name of a file containing list of module names
  27.  
  28.        options  : -Sxxxx          set sampling rate 4000-44100
  29.                       alternatively 4-44
  30.               -H or -?          show help screen
  31.               -Ix          interrupt number
  32.               -Pxxx          port address (use 42 for PC speaker)
  33.               -Dx          DMA channel
  34.               -O          Scramble module order
  35.               -L          Inhibit looping
  36.               -M          Mono mode (SB16 & PAS)
  37.               -Q          Quality mode (on 8-bit cards only)
  38.               -Cx             Desired card where x is:
  39.                     1 for Sound Blaster
  40.                     2 for Sound Blaster Pro
  41.                     3 for PAS+
  42.                     4 for PAS16
  43.                     5 for SB16
  44.                     6 for general DAC (Covox,PC speaker)
  45.                     7 for Aria cards
  46.                     8 for Windows Sound System & compat.
  47.               -Txxx          Buffer size xxx (0-32000)
  48.               -E          Disable extended tempos (MOD only)
  49.               -Axxx          Amplify by xxx, 31 is normal volume
  50.               -B          Disable EMS usage
  51.               -8          Force an 16-bit card into 8-bit
  52.                       mode (works with Aria, PAS16 and WSS)
  53.               -Nxx          Set default panning to xx (0-63)
  54.  
  55.  If you use some options all the time, you can put them into an
  56.  environment variable DMP:
  57.  
  58.     Example:
  59.  
  60.  You always want to use quality mode and sampleing rate of 22kHz and
  61.  mono mode, put following line into your AUTOEXEC.BAT
  62.  
  63.     SET DMP=-q -s22 -m
  64.  
  65.  NOTE!    You cannot override single letter options (-l,-o,-m,-q) with
  66.  command line parameters. All other options can be overriden.
  67.  
  68.  You may have to  give your soundcard's IRQ  number and/or port address
  69.  if DMP fails to find them. If you don't provide both values then DMP
  70.  will assume 220h for port address, and 7 for interrupt number. Giving
  71.  wrong address    will hang  your machine,  but wrong interrupt number
  72.  only stops the playing after a second. The "/C" option is useful if you
  73.  want to use some other card, than the one DMP automatically detects.
  74.  
  75.  You don't  have  to add  any extension  to  the name,  because the
  76.  program will try  extensions AMF, STM, 669, S3M, MOD and  NST if it
  77.  doesn't find the file. Note that you can supply many modulenames and
  78.  list files, up to the internal limit of 1024 modulenames.
  79.  
  80.        Example:
  81.  
  82.        DMP beyond -s20 *.NST @goodmods
  83.  
  84.        goodmods is a text file containing following lines:
  85.        occ-san
  86.        stars
  87.        intro3
  88.  
  89.  DMP  will use    the  sampling  rate  of  20KHz    and  play following
  90.  modules: BEYOND.MOD,  OCC-SAN.STM, STARS.MOD, INTRO3.MOD  and all
  91.  .NST-files in the current directory.
  92.  
  93.  
  94.                 How to use DMP
  95.  
  96.  After DMP has    loaded the first  module, it starts  to play it and
  97.  shows some information about  it. DMP displays module's  name, its file
  98.  size, the amount of  memory used for module and sampling rate.  Because
  99.  of the AMP's Intelligent Module Loader  (IML) modules  usually take
  100.  10-30% less  space. I've  seen a 244Kb module shrink into 151Kb when I
  101.  loaded it with DMP. While playing, DMP updates fields showing current
  102.  pattern, row, elapsed time, volume and sampling rate. Under these
  103.  fields are four lines showing the current status of the corresponding
  104.  tracks. Here is an example:
  105.  
  106.  ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  107.    bassdrum            │ F#2 │ 64 │               │ ■■■■■■■■■■■■■■■■■■■■■
  108.    strings7            │ D-3 │ 20 │ ARPEGGIO      │ ■■■■■■■■■■■■■■■
  109.    guitar42            │ E-2 │ 12 │ PORT.NOTE     │ ■■■■■■■■■■■
  110.    guitar44            │ G-2 │ 57 │ FINE VOL      │ ■■■■■■■■■■■■■■■■■■
  111.  ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  112.  
  113.  The first  field shows  the instrument  currently playing  on that
  114.  track. Second is the note value, third its volume and fourth indicates
  115.  what special command is running. The bar simulates a VU  meter on music
  116.  equipment, but you shouldn't take it  as  an exact  representation of
  117.  the music  level, it's there because it looks nice!
  118.  
  119.  The rest of the screen is filled with instrument names. The numbers before an
  120.  instrument name indicate the channels that instrument is playing on.
  121.  
  122.  Pressing 'H'  bring up a  quick-help showing  command line options and
  123.  keys used to control the program.
  124.  
  125.            Keys :
  126.           ────────
  127.  
  128.        P        pause module, any key resumes
  129.        1-9        turn track xx on/off
  130.        0        turn selected track on/off
  131.        D        DOS shell (write EXIT to get back)
  132.        N        load next module (if you have supplied more than one)
  133.        S        stereo mode on/off (SB Pro), default is on
  134.        F        filter on/off (SB Pro), default is off
  135.        left/right    Jump to next/previous pattern
  136.        up/down    select track
  137.        F1-F10,+,-    set volume
  138.        [,]        Set new speed
  139.        {,}        Set new tempo
  140.        (,)        Add/remove channel
  141.        V        Real/fake volume bars
  142.        , .        Panning left/right
  143.        H        Help screen
  144.        ESC        exit
  145.  
  146.  Try this module player  with all the modules  you have, and if you
  147.  encounter problems with any modules, inform the author. Have fun.
  148.  
  149.  
  150.                ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  151.                 Contacting the author
  152.                ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  153.  
  154.        ┌─────────────────────────────────────────────────────────────────────┐
  155.        │                                                                     │
  156.        │   By mail:                                                          │
  157.        │   ────────                                                          │
  158.        │                                                                     │
  159.        │            Otto Chrons                                              │
  160.        │            Pyydyspolku 5                                            │
  161.        │            SF-36200 Kangasala                                       │
  162.        │            FINLAND                                                  │
  163.        │                                                                     │
  164.        │   Fidonet:                                                          │
  165.        │   ─────────                                                         │
  166.        │        2:221/105.10                         │
  167.        │                                                                     │
  168.        │   InterNet:                                                         │
  169.        │   ──────────                                                        │
  170.        │            c142092@cc.tut.fi (fastest method to contact)            │
  171.        │                                                                     │
  172.        └─────────────────────────────────────────────────────────────────────┘
  173.  
  174.     Newest version is always available at:
  175.  
  176.        ┌─────────────────────────────────────────┐
  177.        │ R.A. LAW      +358-37-49007    24h     │
  178.        │ Moonlight shadow +358-0-3882575   24h     │
  179.        │ POP              +358-18-550136   24h   │
  180.        └─────────────────────────────────────────┘
  181.  
  182.     See CABINET.DMP for a list of DMP support sites in Finland.
  183.  
  184.     See DMP.REV for revision history.
  185.  
  186.                 ▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
  187.                  For programmers only
  188.                 ▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
  189.  
  190.  
  191.  DMP was  created with    Borland C++  3.1 and  it is  based on DSMI's
  192.  routines, so by ordering DSMI interface you could write programs with
  193.  similar capabilities. DSMI is a collection of    routines (for C and
  194.  Turbo Pascal) that allows programmers to play    modules in the
  195.  background, but unlike any other module player it also allows
  196.  simultaneous sound effects!! Up to 32 channels can be used which means
  197.  that you can have a module and sound effects playing in full stereo (on
  198.  cards which support stereo sound)! DSMI is available and the price is
  199.  270FMK ($70). Packet includes full documentation (printed), OBJ files &
  200.  libraries for C version, TPUs for Turbo Pascal and also some of the
  201.  source code so you can modify the behaviour of DSMI.
  202.